# == Class: httpproxy
#
# Full description of class httpproxy here.
#
# === Parameters
#
# [*sample_parameter*]
#   Explanation of what this parameter affects and what it defaults to.
#
class httpproxy (
  $whitelist    = [ '.ubuntu.com', '.windowsupdate.com', '.microsoft.com', '.windows.com' ],
) inherits httpproxy::params {

  # validate parameters
  validate_array($whitelist)

  class { 'httpproxy::install': } ->
  class { 'httpproxy::config': } ~>
  class { 'httpproxy::service': } ->
  Class['httpproxy']
}
